package qrcode

import (
	"context"
	"git.mycaigou.com/gfyx/micro-gfyx-user-service/infrastructure/common/utils"
)

type QrcodeRepositoryIface interface {
	Create(ctx context.Context, po *QrcodePo) (*QrcodePo, error)
	QueryList(ctx context.Context, condition map[string]interface{}, info *utils.PageInfo, order string) (int64, []*QrcodePo, error)
	QueryOne(ctx context.Context, condition map[string]interface{}) (*QrcodePo, error)
	UpdateById(ctx context.Context, id int64, updates map[string]interface{}) error
}
